﻿@model G15_Agent.Models.ChiTietHDKH

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true, "Thêm chi tiết hóa đơn mới không thành công, vui lòng thử lại")   
<fieldset> 
       

        <div class="editor-label">
            @Html.LabelFor(model => model.MaChiTietHD, "Mã chi tiết hóa đơn")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MaChiTietHD)
            @Html.ValidationMessageFor(model => model.MaChiTietHD)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MaHD_KH,"Mã hóa đơn khách hàng")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MaHD_KH)
            @Html.ValidationMessageFor(model => model.MaHD_KH)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MaHD_NCC, "Mã hóa đơn NCC")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MaHD_NCC)
            @Html.ValidationMessageFor(model => model.MaHD_NCC)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ThongTinDV,"Thông tin dịch vụ")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ThongTinDV)
            @Html.ValidationMessageFor(model => model.ThongTinDV)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DonGia)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DonGia)
            @Html.ValidationMessageFor(model => model.DonGia)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TrangThai)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.TrangThai)
            @Html.ValidationMessageFor(model => model.TrangThai)
        </div>

        


        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
    
    <fieldset>
        
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>